package cn.com.sparkle.paxos.model;

import java.io.Serializable;

public class Value implements Serializable {

	private static final long serialVersionUID = 1L;
	public final static int TYPE_ADMIN = 0;
	public final static int TYPE_COMM = 1;
	private int type;
	private byte[][] value;

	public Value(int type, byte[][] value) {
		super();
		this.type = type;
		this.value = value;
	}

	public int getType() {
		return type;
	}

	public byte[][] getValue() {
		return value;
	}
}
